import request from '@/utils/request'

// 获取企业列表信息
export const enterpriseList = params => {
  return request({
    url: '/enterprise/list',
    params
  })
}
// 新增企业
export const enterpriseAdd = data => {
  return request({
    url: '/enterprise/add',
    method: 'post',
    data
  })
}
// 删除企业
export const enterpriseRemove = data => {
  return request({
    url: '/enterprise/remove',
    method: 'post',
    data
  })
}
// 编辑企业
export const enterpriseEdit = data => {
  return request({
    url: '/enterprise/edit',
    method: 'post',
    data
  })
}
// 修改企业状态
export const enterpriseStatus = data => {
  return request({
    url: '/enterprise/status',
    method: 'post',
    data
  })
}
